package com.hc.service;

import com.github.pagehelper.PageInfo;
import com.hc.bean.SysUserBean;

public interface SysUserService {


    /**
     *
     * @param sysUserBean
     * @param pageNum 页码
     * @param pageSize 每页显示的记录数
     * @return
     */
    public PageInfo<SysUserBean> queryDataByPage(SysUserBean sysUserBean,int pageNum,int pageSize);

    public  int insertData(SysUserBean sysUserBean);


    /**
     * 删除用户
     * @param user_id
     * @return
     */
    public  int deleteDataById(Integer user_id);


    public  SysUserBean userLogin(String userName,String password);
}
